package com.biostime.dingdingbox.modules.db.entity;

import com.biostime.dingdingbox.common.persistence.DataEntity;


/**
 * 会员Entity
 * @author chenweicheng
 * @version 2016-06-28
 */
public class Member extends DataEntity<Member> {

	private static final long serialVersionUID = 1L;
	
	private String mobile;// 手机号
	private String password;// 登录密码
	private String name;// 会员姓名
	private int proviceId;// 省份
	private int cityId;// 城市
	private int areaId;// 区域
	private String district;// 区域（冗余）
	private String address;// 地址
	private String loginFlag;// 是否可登录
	private int centerId;// 早教中心编号
	private PlatformMember platformMember;//平台会员
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getProviceId() {
		return proviceId;
	}
	public void setProviceId(int proviceId) {
		this.proviceId = proviceId;
	}
	public int getCityId() {
		return cityId;
	}
	public void setCityId(int cityId) {
		this.cityId = cityId;
	}
	public int getAreaId() {
		return areaId;
	}
	public void setAreaId(int areaId) {
		this.areaId = areaId;
	}
	public String getDistrict() {
		return district;
	}
	public void setDistrict(String district) {
		this.district = district;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getLoginFlag() {
		return loginFlag;
	}
	public void setLoginFlag(String loginFlag) {
		this.loginFlag = loginFlag;
	}
	public int getCenterId() {
		return centerId;
	}
	public void setCenterId(int centerId) {
		this.centerId = centerId;
	}

	public Member(String id){
		super(id);
	}
	
	public Member(){
		super();
	}
	public PlatformMember getPlatformMember() {
		return platformMember;
	}
	public void setPlatformMember(PlatformMember platformMember) {
		this.platformMember = platformMember;
	}
	
}